package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 获取产品code以及更新时间接口输出参数类
 * Created by jiangping on 16/5/13.
 */

@XmlRootElement(name = "include-crowd")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductInclude implements Serializable{
    private static final long serialVersionUID = 2299530736223326143L;

    private int id;

    /**
     * 人群类型(ADT 成人/CHD 儿童/IFT 婴儿/SNR 老年/YTH 青
     年)
     */
    @XmlElement(name = "crowd-type")
    private String crowdType;

    /**
     * 人群名称
     */
    @XmlElement(name = "crowd-name")
    private String crowdName;

    /**
     * 年龄起
     */
    @XmlElement(name = "age-from")
    private String ageFrom;

    /**
     * 年龄止
     */
    @XmlElement(name = "age-to")
    private String ageTo;

    /**
     * 单一人群最少出行人数
     */
    @XmlElement(name = "min-num")
    private String minNum;

    /**
     * 单一人群最多出行人数
     */
    @XmlElement(name = "max-num")
    private String maxNum;

    private int specificationId;

    private String productCode;

    public String getCrowdType() {
        return crowdType;
    }

    public void setCrowdType(String crowdType) {
        this.crowdType = crowdType;
    }

    public String getCrowdName() {
        return crowdName;
    }

    public void setCrowdName(String crowdName) {
        this.crowdName = crowdName;
    }

    public String getAgeFrom() {
        return ageFrom;
    }

    public void setAgeFrom(String ageFrom) {
        this.ageFrom = ageFrom;
    }

    public String getAgeTo() {
        return ageTo;
    }

    public void setAgeTo(String ageTo) {
        this.ageTo = ageTo;
    }

    public String getMinNum() {
        return minNum;
    }

    public void setMinNum(String minNum) {
        this.minNum = minNum;
    }

    public String getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(String maxNum) {
        this.maxNum = maxNum;
    }

    public int getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(int specificationId) {
        this.specificationId = specificationId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }
}
